#pragma once


class nocopy
{
public:
    nocopy(){}
    ~nocopy(){}

    nocopy(const nocopy&) = delete; // 禁用拷贝   
    const nocopy& operator=(const nocopy&) = delete; // 禁用赋值
};